import axios from 'axios'
//基本路径
axios.defaults.baseURL = ''
//请求拦截
axios.interceptors.request.use((config) => {
    return config
}, (error) => {
    return Promise.reject(error)
})
//响应拦截
axios.interceptors.response.use((response) => {
    return response
}, () => {
    return Promise.reject(error)
})

export default axios